package cn.jiyun.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
public class Job implements Serializable {
    @TableId(value = "id", type= IdType.AUTO)
    private Integer id;
    private String name;
    private Double salary;
    private Integer state;
    private Integer num;
    private Integer sid;
    private Integer mid;
    @TableField(exist = false)
    private Campus campus;
    @TableField(exist = false)
    private Major major;
    @TableField(exist = false)
    private Student student;
}
